import {request} from '../request'

export const get_friend_list = () =>{
    return request({
        url:'user/friends',
        method:'get'
    })
}

export const search_friend = (key) =>{
    return request({
        url:`/user/search/${key}`,
        method:'get'
    })
}

export const get_message = () =>{
    return request({
        url:'/user/friends/record',
        method:'get'
    })
}